You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Equal Method > Matrix.Equal Method ([In] TMtx, double)
Dew Math for .NET
ContentsIndexHome
Example
var A,B: Matrix; c: boolean; begin A.SetIt(2,2,false,[1,2, 2,4]); // 2x2, real matrix B.SetIt(2,2,false,[1,2, 2,4]); // 2x2, real matrix c := A.Equal(B,1e-8); // Check for differences bigger than 0.00000001 c := (A = B); // Check for an exact match end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.